package com.andaying.mail.ware;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@MapperScan("com.andaying.mail.ware.dao")
@SpringBootApplication
@EnableDiscoveryClient
public class MailWareApplication {

    public static void main(String[] args) {
        SpringApplication.run(MailWareApplication.class, args);
        System.out.println(" .----------------.  .----------------.  .----------------.  .----------------. \n" +
                "| .--------------. || .--------------. || .--------------. || .--------------. |\n" +
                "| | _____  _____ | || |      __      | || |  _______     | || |  _________   | |\n" +
                "| ||_   _||_   _|| || |     /  \\     | || | |_   __ \\    | || | |_   ___  |  | |\n" +
                "| |  | | /\\ | |  | || |    / /\\ \\    | || |   | |__) |   | || |   | |_  \\_|  | |\n" +
                "| |  | |/  \\| |  | || |   / ____ \\   | || |   |  __ /    | || |   |  _|  _   | |\n" +
                "| |  |   /\\   |  | || | _/ /    \\ \\_ | || |  _| |  \\ \\_  | || |  _| |___/ |  | |\n" +
                "| |  |__/  \\__|  | || ||____|  |____|| || | |____| |___| | || | |_________|  | |\n" +
                "| |              | || |              | || |              | || |              | |\n" +
                "| '--------------' || '--------------' || '--------------' || '--------------' |\n" +
                " '----------------'  '----------------'  '----------------'  '----------------' ");
    }
}
